Simulating Partial Differential equations in the World-Wide Web

نویسندگان

  • Juan de Lara
  • Manuel Alfonseca
  • Estrella Pulido
چکیده

This paper describes the extensions we have added to our special-purpose objectoriented continous simulation language (OOCSMP) to solve partial differential equations. We also describe the procedure we have used to generate semiautomatically a web description of the numerical resolution of partial differential equations. INTRODUCTION The currently most successful hypermedia system is the World Wide Web (WWW), wich has many advantages on traditional hypertext applications. This has brought around the current proliferation of educational courses in the WWW, which run from a simple transposition of lecture notes, to pages including more sophisticated elements, such as animated graphics, simulations and so forth. We have been working for some time on the developement of advanced simulation tools, that simplify the generation of educational courses on the WWW. The language we are using is an extension of the old CSMP (Continuous System Modelling Program) language, sponsored by IBM [1]. We call the new language OOCSMP [2], for its main difference with CSMP is the addition of object-oriented constructs which makes it much easier the simulation of complex system based on the mutual interaction of many similar agents. We have used this language to build a course on Newton’s gravitation and the solar system [3], a course on ecology [4], and a basic course on electronics [5] Many physical phenomena encountered in engineering, fluid mechanics, chemistry and other fields are modelled by means of differential equations [6]. Usually the problem addressed is too complicated to be solved by classical analytical methods, and a numerical approach is necessary. We have extended OOCSMP to handle the numerical resolution of partial differential equations (PDEs). PDEs can be solved with OOCSMP using combinations of well known methods such as the finite element method [7] and several schemes of the finite differences method [8] ( implicit and explicit). Domains can be discretized by mixing several techniques such as Delaunay triangulation [9] , isoparametric elements or interpolation meshing [10] and grid generation solving two elliptic equations[11]. In this paper, we are presenting some examples of the use of partial differential equations organized as a set of web pages containing examples of elliptic, hyperbolic and parabolic equations in 1D and 2D. A short example of grid generation is also included. The pages have been generated automatically with OOCSMP. 1. SOLVING PDE’s WITH OOCSMP We have extended OOCSMP to solve systems of PDE’s of the second order in one or two spatial dimensions, plus (optionally) time. The model equation to be solved is: Fig. 1 : Model equation 1.1 Spatial Domains The equations have to be solved in some spatial domain. Domains can be declared in OOCSMP by means of primitives. The domain primitives in 2D (and its shapes once discretized using an interpolation mesh or grid ) are : Fig.2:Circular sectors Fig,3:Quadrilaterals Fig.4:Quadrilaterals whose Fig.5:Triangles edges are splines In 1D the only primitive is the line. The syntax for all these primitives is very similar : DOMAIN := ( , , ) where the boundary conditions can be specified in one or more edges and can be of Dirichlet or Newmann type. 1.2 Discretizing Domains The next step to solve the PDE is to discretize the domains previously declared. Meshing a domain with OOCSMP can be made by using several techniques such as : • Delaunay triangulation. C x y t d dt c x y t du dt C x y t du dt A x y t d dx a x y t du dx A x y t d dy a x y t du dy A x y t d dx a x y t du dy B x y t du dx B tt tt t

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

THE ELZAKI HOMOTOPY PERTURBATION METHOD FOR PARTIAL DIFFERENTIAL EQUATIONS

In this paper, Elzaki Homotopy Perturbation Method is employed for solving linear and nonlinear differential equations with a variable coffecient. This method is a combination of Elzaki transform and Homotopy Perturbation Method. The aim of using Elzaki transform is to overcome the deficiencies that mainly caused by unsatised conditions in some semi-analytical methods such as Homotopy Perturbat...

متن کامل

Simulation of Singular Fourth- Order Partial Differential Equations Using the Fourier Transform Combined With Variational Iteration Method

In this paper, we present a comparative study between the modified variational iteration method (MVIM) and a hybrid of Fourier transform and variational iteration method (FTVIM). The study outlines the efficiencyand convergence of the two methods. The analysis is illustrated by investigating four singular partial differential equations with variable coefficients. The solution of singular partia...

متن کامل

On The Simulation of Partial Differential Equations Using the Hybrid of Fourier Transform and Homotopy Perturbation Method

In the present work, a hybrid of Fourier transform and homotopy perturbation method is developed for solving the non-homogeneous partial differential equations with variable coefficients. The Fourier transform is employed with combination of homotopy perturbation method (HPM), the so called Fourier transform homotopy perturbation method (FTHPM) to solve the partial differential equations. The c...

متن کامل

On the Exact Solution for Nonlinear Partial Differential Equations

In this study, we aim to construct a traveling wave solution for nonlinear partial differential equations. In this regards, a cosine-function method is used to find and generate the exact solutions for three different types of nonlinear partial differential equations such as general regularized long wave equation (GRLW), general Korteweg-de Vries equation (GKDV) and general equal width wave equ...

متن کامل

Solving a Class of Partial Differential Equations by Differential Transforms Method

‎In this work, we find the differential transforms of the functions $tan$ and‎ ‎$sec$‎, ‎and then we applied this transform on a class of partial differential equations involving $tan$ and‎ ‎$sec$‎.

متن کامل

Partial Differential Equations applied to Medical Image ‎Segmentation

‎This paper presents an application of partial differential equations(PDEs) for the segmentation of abdominal and thoracic aortic in CTA datasets. An important challenge in reliably detecting aortic is the need to overcome problems associated with intensity inhomogeneities. Level sets are part of an important class of methods that utilize partial differential equations (PDEs) and have been exte...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999